﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Utility;
using HKEA.CMS.Core.Models;
namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblCPerson_CommMember
    {
        int InsertENT(tblCPerson_CommMember ent);

        List<tblCPerson_CommMember> GetListByENT(tblCPerson_CommMember ent, PageParam param, string strPropertyName,string strOrderBy);

        List<tblCPerson_CommMember> GetListByENT(tblCPerson_CommMember ent);
        List<CommitteeMemberList> GetListByCPUID(int CPUID, List<int> withOutList);
        List<tblCPerson_CommMember> GetListByCust_CPerson(tblCust_ContactPerson ent, bool isToCP);

        int GetCountByENT(tblCPerson_CommMember ent);

        int UpdateENT(tblCPerson_CommMember ent);

        int DeleteENT(tblCPerson_CommMember ent);
    }
}
